package com.training.java.core.interfaces;

public class InterfaceDemo {

	public static void main(String[] args) {
		
		Car pc=new PoliceCar();
		
		pc.Start();
		pc.Stop();
		pc.Driving();
		pc.Getmaximumspeed(60);
		
		Car sd=new Sedan();
		
		sd.Start();
		sd.Stop();
		sd.Driving();
		sd.Getmaximumspeed(100);
	}

}
